<?php
/* @var $this ClientBackgroundController */
/* @var $model ClientBackground */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'client-background-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'cli_lastname'); ?>
		<?php echo $form->textField($model,'cli_lastname',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'cli_lastname'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cli_firstname'); ?>
		<?php echo $form->textField($model,'cli_firstname',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'cli_firstname'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cli_middlename'); ?>
		<?php echo $form->textField($model,'cli_middlename',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'cli_middlename'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'client_position'); ?>
		<?php echo $form->textField($model,'client_position',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'client_position'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'corporation_type'); ?>
		<?php echo $form->dropDownlist($model, 'corporation_type',$model->getCorporation_type() ,
		array('prompt' => 'Select a Corporation Type',)); ?>
		<?php echo $form->error($model,'corporation_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cli_cellphone_no'); ?>
		<?php echo $form->textField($model,'cli_cellphone_no'); ?>
		<?php echo $form->error($model,'cli_cellphone_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cli_telephone_no'); ?>
		<?php echo $form->textField($model,'cli_telephone_no'); ?>
		<?php echo $form->error($model,'cli_telephone_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cli_email'); ?>
		<?php echo $form->textField($model,'cli_email',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'cli_email'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'client_contact_person_id'); ?>
			<?php echo $form->textField($model,'client_contact_person_id'); ?>
		<?php echo $form->error($model,'client_contact_person_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->